package com.sinosoft.web;

import com.sinosoft.configuration.AuthService;
import com.sinosoft.domain.AuthResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author loujiang
 * @date 2021/1/3 10:10 上午
 * @NOTE:
 */
@RestController
public class TestControler {

    @Autowired
    private AuthService authService ;

    @RequestMapping("/test")
    public AuthResponse test()
    {
        return authService.login("a","b");

    }
}


